package com.borzaindustries.mkdummy;

import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;

public class ResultActivity extends Activity {
		@Override
		public void onCreate(Bundle savedInstanceState) {
			super.onCreate(savedInstanceState);
			setContentView(R.layout.result);
			
			Bundle extras = getIntent().getExtras();
			if(extras ==null)
				return;
			
			String html = extras.getString("html");
			WebView webView = (WebView) findViewById(R.id.webview);
			webView.loadData(html, "text/html", "utf-8");
		}
}
